package com.atao.baokede.mapper;

import com.atao.baokede.pojo.MerchantMessage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MerchantMessageMapper {
    // 根据商户id查询
    @Select("select * from merchant_message where merchant_id = #{merchantId}")
    List<MerchantMessage> findAllById(Long merchantId);
}
